import actionType from "../action";

let userReducer = (state = { info: {} }, action: any) => {
    switch (action.type) {
        case actionType.INITUSER:
            return { info: { ...state.info, ...action.playload } }
    }

    return state;
}
export default userReducer;